package priv.mill.abcfactory;

public class CoofeeFactory extends YinLiaoFactory {

	@Override
	public YinLiao getYinLiao(String name) {
		if("蓝山".equals(name))
			return new LanShan();
		if("拿铁".equals(name))
			return new NaTie();
		return null;
	}


}
